package com.qfjy.shichengyong.staticproxy;

/**
 * @author:scy
 * @date:2022/9/13 19:20
 * @version:1.0
 */
public class StaticProxyTest {

    public static void main(String[] args) {
        Person student = new Student("张三");

        Person monitor = new StudentProxy(student);

        monitor.giveMoney();

    }
}
